package com.nwpu.am.service.impl;

import com.nwpu.am.mapper.SupplierMapper;
import com.nwpu.am.pojo.entity.Supplier;
import com.nwpu.am.service.SupplierService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
public class SupplierServiceImpl implements SupplierService {
    @Resource
    private SupplierMapper supplierMapper;
    @Override
    public Supplier findSupplierByName(String supplierName) {
        return supplierMapper.selectSupplierByName(supplierName);
    }
}
